package com.wzw.report.chart;

import java.io.IOException;

import javax.servlet.http.HttpSession;

import org.jfree.chart.JFreeChart;

import com.wzw.report.chart.servlet.ServletUtilities;

public class ChartUtil extends ServletUtilities {

	public static String getChartPicPath(JFreeChart chart, HttpSession session) throws IOException {
		return ChartUtil.saveChartAsJPEG(chart, 600, 400, session);
	}
	
}
